package com.ruoyi.basic.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 考勤地点管理对象 kaoqin_address
 * 
 * @author hyh
 * @date 2021-04-13
 */
public class KaoqinAddress extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 考勤地点id */
    @Excel(name = "考勤地点id")
    private Long id;

    /** 考勤地点名 */
    @Excel(name = "考勤地点名")
    private String address;

    /** 纬度 */
    @Excel(name = "纬度")
    private String latitude;

    /** 精度 */
    @Excel(name = "精度")
    private String longitude;

    /** 考勤范围 */
    @Excel(name = "考勤范围")
    private Integer radius;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setLatitude(String latitude) 
    {
        this.latitude = latitude;
    }

    public String getLatitude() 
    {
        return latitude;
    }
    public void setLongitude(String longitude) 
    {
        this.longitude = longitude;
    }

    public String getLongitude() 
    {
        return longitude;
    }
    public void setRadius(Integer radius) 
    {
        this.radius = radius;
    }

    public Integer getRadius() 
    {
        return radius;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("address", getAddress())
            .append("latitude", getLatitude())
            .append("longitude", getLongitude())
            .append("radius", getRadius())
            .append("status", getStatus())
            .toString();
    }
}
